package controller;

import java.util.prefs.Preferences;

import annotations.CanRun;

import connectors.EAConnector;
import connectors.OfficeConnector;

import model.MainModel;

import ui.MainWindow;

public class MainController {
	private Preferences prefs;
	private MainWindow mainwindow;
	private MainModel mainModel;
	private EAConnector eaConnector;
	private OfficeConnector officeConnector;

	public MainWindow getMainWindow() {
		if (mainwindow == null) {
			mainwindow = new MainWindow();

		}
		return mainwindow;
	}

	public Preferences getApplicationPreferences() {
		if (prefs == null) {
			prefs = Preferences.userNodeForPackage(MainController.class);
		}

		return prefs;

	}

	public static void main(String[] args) {

	}

}
